<template>
  <div>
    <div class="container">
      <div class="top">
        <slot name="top-left"></slot>
        <slot name="top-right">
          <div></div>
        </slot>
      </div>
      <div class="main">
        <slot name="main"></slot>
      </div>
    </div>
  </div>
</template>

<script>

</script>

<style lang="less" scoped>
.container {
  width: 360px;
  // height: 500px;
  background: #fff;
  margin: 20px auto;
  border-radius: 6px;

  .top {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    background-image: linear-gradient(90deg, rgba(0, 119, 255, 1), rgba(104, 217, 254, 1));
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;

    & div:nth-child(1) {
      font-size: 20px;
      line-height: 40px;
      padding-left: 20px;
      color: #fff;
    }

    & div:nth-child(2) {
      font-size: 20px;
      line-height: 40px;
      padding-right: 20px;
      color: #fff;

      i {
        font-size: 20px;
        margin-right: 4px;
      }
    }
  }



}
</style>